package com.foreverwin.mes.lims.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author Mark
 * @since 2020-03-04
 */
@TableName("Z_RETENTION_SAMPLE")
public class RetentionSample extends Model<RetentionSample> {

    private static final long serialVersionUID = 1L;

   @TableId(value = "HANDLE", type = IdType.INPUT)
   private String handle;
   @TableField("SITE")
   private String site;
   @TableField("RESOURCE")
   private String resource;
   @TableField("RESO_DESC")
   private String resoDesc;
   @TableField("RETEN_SAMP_BATCH")
   private String retenSampBatch;
   @TableField("ITEM")
   private String item;
   @TableField("ITEM_NAME")
   private String itemName;
   @TableField("RETEN_SAMP_QTY")
   private Long retenSampQty;
   @TableField("MEAS_UNIT")
   private String measUnit;
   @TableField("CREATOR")
   private String creator;
   @TableField("UPDATER")
   private String updater;
   @TableField("CREATED_DATE_TIME")
   private Date createdDateTime;
   @TableField("MODIFIED_DATE_TIME")
   private Date modifiedDateTime;


   public String getHandle() {
      return handle;
   }

   public void setHandle(String handle) {
      this.handle = handle;
   }

   public String getSite() {
      return site;
   }

   public void setSite(String site) {
      this.site = site;
   }

   public String getResource() {
      return resource;
   }

   public void setResource(String resource) {
      this.resource = resource;
   }

   public String getResoDesc() {
      return resoDesc;
   }

   public void setResoDesc(String resoDesc) {
      this.resoDesc = resoDesc;
   }

   public String getRetenSampBatch() {
      return retenSampBatch;
   }

   public void setRetenSampBatch(String retenSampBatch) {
      this.retenSampBatch = retenSampBatch;
   }

   public String getItem() {
      return item;
   }

   public void setItem(String item) {
      this.item = item;
   }

   public String getItemName() {
      return itemName;
   }

   public void setItemName(String itemName) {
      this.itemName = itemName;
   }

   public Long getRetenSampQty() {
      return retenSampQty;
   }

   public void setRetenSampQty(Long retenSampQty) {
      this.retenSampQty = retenSampQty;
   }

   public String getMeasUnit() {
      return measUnit;
   }

   public void setMeasUnit(String measUnit) {
      this.measUnit = measUnit;
   }

   public String getCreator() {
      return creator;
   }

   public void setCreator(String creator) {
      this.creator = creator;
   }

   public String getUpdater() {
      return updater;
   }

   public void setUpdater(String updater) {
      this.updater = updater;
   }

   public Date getCreatedDateTime() {
      return createdDateTime;
   }

   public void setCreatedDateTime(Date createdDateTime) {
      this.createdDateTime = createdDateTime;
   }

   public Date getModifiedDateTime() {
      return modifiedDateTime;
   }

   public void setModifiedDateTime(Date modifiedDateTime) {
      this.modifiedDateTime = modifiedDateTime;
   }

   public static final String HANDLE = "HANDLE";

   public static final String SITE = "SITE";

   public static final String RESOURCE = "RESOURCE";

   public static final String RESO_DESC = "RESO_DESC";

   public static final String RETEN_SAMP_BATCH = "RETEN_SAMP_BATCH";

   public static final String ITEM = "ITEM";

   public static final String ITEM_NAME = "ITEM_NAME";

   public static final String RETEN_SAMP_QTY = "RETEN_SAMP_QTY";

   public static final String MEAS_UNIT = "MEAS_UNIT";

   public static final String CREATOR = "CREATOR";

   public static final String UPDATER = "UPDATER";

   public static final String CREATED_DATE_TIME = "CREATED_DATE_TIME";

   public static final String MODIFIED_DATE_TIME = "MODIFIED_DATE_TIME";

   @Override
   protected Serializable pkVal() {
      return this.handle;
   }

   @Override
   public String toString() {
      return "RetentionSample{" +
         "handle = " + handle +
         ", site = " + site +
         ", resource = " + resource +
         ", resoDesc = " + resoDesc +
         ", retenSampBatch = " + retenSampBatch +
         ", item = " + item +
         ", itemName = " + itemName +
         ", retenSampQty = " + retenSampQty +
         ", measUnit = " + measUnit +
         ", creator = " + creator +
         ", updater = " + updater +
         ", createdDateTime = " + createdDateTime +
         ", modifiedDateTime = " + modifiedDateTime +
         "}";
   }
}